import java.util.List;
public class Test {
    public static void main(String[] args) {
        Binarytree binarytree = new Binarytree();
        Binarytree.TreeNode A =  binarytree.creatTree();
       /* binarytree.size1(A);
        System.out.println(Binarytree.usedsize);
        binarytree.size2(A);
        System.out.println(Binarytree.usedsize);*/

        /*binarytree.LevelNodeCount1(A);
        System.out.println(Binarytree.leaveSize);
        int levelSize = binarytree.LevelNodeCount2(A);
        System.out.println(levelSize);*/

       /* int treeHight = binarytree.TreeHight(A);
        System.out.println(treeHight);*/

        /*Binarytree.TreeNode K = binarytree.findVal(A,'B');
        System.out.println(K.val);*/

        /*int count = binarytree.getLevelNodeCount(A,3);
        System.out.println(count);*/

        binarytree.preOrder(A);
        System.out.println();
        binarytree.invertTree(A);
        binarytree.preOrder(A);
    }
}
